<div id="form"></div>
<script>
$("##form").ajajform({
	header: null,
	footerButtons: [
		{value: "Создать",url: "#action#?mode=edit"}
	]
}).ajajform("insertWidget",null,null,{
	type: "grid",
	title: "Новости по всем лентам",
	name: "news",
	rowClasses: [{
		name:"news",
		columns: [
			{name: "date_use", label: "Дата", width: 100},
			{name: "name", label: "Название", width: 600, url: '#action#?mode=edit&news_id='},
			{name: "tags", label: "Теги", width: 300}
		]
	}],
	rows: #JSON:news#
});
</script>
